

#ifndef _SHELL_RESPLAYERBUFFS_MESSAGE_H_
#define _SHELL_RESPLAYERBUFFS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ResPlayerBuffsMessage : public Message
{
	public:
	ResPlayerBuffsMessage();
	~ResPlayerBuffsMessage();
	void reset();
	ResPlayerBuffsMessage* clone();
	static const int _ID;
	//角色与最高等级的差距
	int16 lv;
	//获得经验加成百分比
	int16 exp;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
